<?xml version="1.0" encoding="utf-8"?>
<Content xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:blueonionsoftware-com:bloget:runtime:data">
  <text>I've enhanced the nightly build to add build version information to select .NET assemblies.

Now, when you right-click on one of these DLLs/EXEs and select Properties, the Version tab will look something like this:

&lt;img style="border:none" src='http://aabmag23a/devnotes/wp-content/properties.PNG' alt='KinetDxVersion Info' /&gt;

To incorporate this version info into a .NET assembly that does not have it, you need to do the following:

Make sure your code specifies "assembly:" attributes for both AssemblyTitle and AssemblyFileVersion.  Here are the default values you should use:

[assembly: AssemblyTitle("Unofficial Build")]
[assembly: AssemblyFileVersion("0.0.0.0")]		

Add the name of the source file containing these attribute definitions (presumably AssemblyInfo.cs) to \Server\Implementation\Build Scripts\UpdateVersionFiles.txt.  Be sure to specify the full relative path name (e.g. \Report\Report\AssemblyInfo.cs) and to include a carriage return at the end of your line.

That's it.  All of the files listed in UpdateVersionFiles.txt are hijacked by the nightly build and modified to include build version info before being built.

Let me know if you have any questions about any of this.  Oh, and thanks to Jonathan Hickey for researching the AssemblyInfo stuff.

Greg Tighe</text>
  <last_update>2007-10-04T00:52:31.5490806Z</last_update>
  <source_title />
  <source_link />
  <comments />
  <references />
  <attachments />
</Content>